package com.ebc.eservice.service.impl.login;

import com.ebc.eservice.pojo.EbcMenu;
import com.ebc.eservice.pojo.dto.Route;
import com.ebc.eservice.util.JsonResult;
import com.ebc.eservice.vo.user.LoginUserVo;

import java.util.List;

public interface LoginService {

    JsonResult login(LoginUserVo emp);

    JsonResult logout();

    //获取动态菜单
    List<EbcMenu> getMenuList(Integer rid);
    //动态菜单+路由
    List<Route> getRouteMenu(List<EbcMenu> list);

}
